package com.mes.cloud.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "sys_area_log")
public class SysAreaLog implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @Id
    private String id;
    /**
     * 行政区划id
     */
    @Column(name = "area_id")
    private String areaId;
    /**
     * 菜单编码
     */
    @Column(name = "menu_code")
    private String menuCode;
    /**
     * 日志内容
     */
    @Column(name = "log")
    private String log;
    /**
     * 创建人
     */
    @Column(name = "create_by")
    private String createBy;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    /**
     * 修改人
     */
    @Column(name = "update_by")
    private String updateBy;
    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;
    /**
     * 删除标记，1：删除，0：未删除
     */
    @Column(name = "del_flag")
    private String delFlag;
    /**
     * 更新日期
     */
    @Column(name = "update_date_str")
    private String updateDateStr;
    /**
     * 版本
     */
    @Column(name = "version")
    private Integer version;

    @Column(name = "create_by_no")
    private String createByNo;

    @Column(name = "update_by_no")
    private String updateByNo;
}
